package com.xuecheng.search.constant;

/**
 * @author 勾新杰
 * @version 1.0
 * @description: ES常量
 * @date 2025/2/19 23:36
 */
public class ESConstant {

    public static final String NAME_FIELD = "name";

    public static final String GRADE_FIELD = "grade";

    public static final String MT_NAME_FIELD = "mtName";

    public static final String ST_NAME_FIELD = "stName";

    public static final String DESCRIPTION_FIELD = "description";

    public static final String PRICE_FIELD = "price";

    public static final String STATUS_FIELD = "status";

    public static final String MINIMUM_MATCH = "70%";

    public static final String PRE_TAG = "<font class='eslight'>";

    public static final String POST_TAG = "</font>";

    public static final String MT_NAME_AGG = "mt_name_agg";

    public static final String ST_NAME_AGG = "st_name_agg";

    public static final Integer BOOST_FACTOR = 10;

    public static final Integer AGG_SIZE = 100;

    public static final String SORT_BY_PRICE_ASC = "1";

    public static final String SORT_BY_PRICE_DESC = "2";
}
